package com.lsh.oms.core.enums;

/**
 *
 * @author panxudong
 * @date 16/12/08
 */
public enum EsType {
	CREATE(1, "Create"),
	EDIT(2, "Edit"),
	CREATE_OR_EDIT(3, "CreateOrEdit"),
	BATCH_CREATE(4, "BatchCreate"),
	BATCH_EDIT(5, "BatchEdit"),
	BATCH_CREATE_OR_EDIT(6, "BatchCreateOrEdit"),
	DELETE(7, "delete");

	private int index;
	private String desc;

	EsType(int index, String desc) {
		this.index = index;
		this.desc = desc;
	}

	public int getIndex() {
		return index;
	}

	public String getDesc() {
		return desc;
	}
}
